package com.company.sendemo.basics.abDataType.keyword;


public class StaticFinal2 {
    public String ones = "原始";
    public static void main (String[] args){
        System.out.println(StaticFinal.one);
        StaticFinal.one="回家";
        System.out.println(StaticFinal.one);
        six();
        five();
        seven();
    }

    private static void seven() {
        CommomObject commomObject = new CommomObject();
    }

    /**
     *  code 非静态
     *  Phone 静态
     */
    public static void five(){
        Orders orders = new Orders();
        orders.getCancelTime();
        CommomObject commomObject = new CommomObject();
        System.out.println(commomObject.getCode());
        System.out.println(commomObject.getPhone());

    }
    public static void six(){
        CommomObject commomObject = new CommomObject();
        commomObject.setCode("加油");
        System.out.println(commomObject.getCode());
        commomObject.setPhone("加油");
        System.out.println(commomObject.getPhone());

    }


}
